package com.fanctoryexample.demo.abstactfactory;

import com.fanctoryexample.demo.Mengniu;
import com.fanctoryexample.demo.Milk;
import com.fanctoryexample.demo.Yili;

public class MilkFactory extends AbstractFactory {
    @Override
    public Milk getMengniu() {
        return new Mengniu();
    }

    @Override
    public Milk getYili() {
        return new Yili();
    }

    @Override
    public Milk getSanlu() {
        return null;
    }
}
